package ywpt.web.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.http.HttpSessionAttributeListener;
import javax.servlet.http.HttpSessionBindingEvent;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
import ognl.OgnlRuntime;
public class Struts2ListenerOnBAE implements ServletContextListener,
		HttpSessionListener, HttpSessionAttributeListener {

	public void contextDestroyed(ServletContextEvent arg0) {
		// TODO 自动生成方法存根

	}

	public void contextInitialized(ServletContextEvent arg0) {
		// TODO 自动生成方法存根
		OgnlRuntime.setSecurityManager(null);
	}

	public void sessionCreated(HttpSessionEvent arg0) {
		// TODO 自动生成方法存根

	}

	public void sessionDestroyed(HttpSessionEvent arg0) {
		// TODO 自动生成方法存根

	}

	public void attributeAdded(HttpSessionBindingEvent arg0) {
		// TODO 自动生成方法存根

	}

	public void attributeRemoved(HttpSessionBindingEvent arg0) {
		// TODO 自动生成方法存根

	}

	public void attributeReplaced(HttpSessionBindingEvent arg0) {
		// TODO 自动生成方法存根

	}

}
